﻿using System;
using System.Threading.Tasks;
using System.Linq.Expressions;
 
using Oliving.Edge.Model;
using Oliving.Edge.Model.Dto;
using Oliving.Edge.Model.Models;
using Oliving.Edge.IServices.BASE;

namespace Oliving.Edge.IServices
{
    /// <summary>
    /// IDTSN_TongDaoServices , 通道
    /// </summary>	
    public interface IDTSN_TongDaoServices : IBaseServices<DTSN_TongDao>
    {


        /// <summary>
        /// 自定义分页查询
        /// </summary>
        /// <param name="whereExpression">查询条件</param>
        /// <param name="intPageIndex" > 页码</param>
        /// <param name="intPageSize" > 页大小</param>
        /// <param name="strOrderByFileds" > 排序</param>
        /// <returns></returns>
        Task<PageModel<DTSN_TongDaoPageDto>> QueryPageList(
        Expression<Func<DTSN_TongDao, bool>> whereExpression,
        int intPageIndex = 1,
        int intPageSize = 20,
        string strOrderByFileds = null);



    }
}

